package com.baiduspring.dao.mapper;

import com.baiduspring.dao.entity.UserDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface UserDetailsMapper {
    UserDetails selectByAccount(@Param("account") Long account);

    int deleteByPrimaryKey(Long id);

    int insert(UserDetails record);

    int insertSelective(UserDetails record);

    UserDetails selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserDetails record);

    int updateByPrimaryKey(UserDetails record);
}